package com.innoking.docsys.report.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @ClassName DocInterface
 * @Description 获取doc模块接口
 * @Author Administrator
 * @Date 2019/9/10 001009:14
 */
@FeignClient(value = "doc-service")
public interface DocInterface {

    @RequestMapping(value = "/getOriginal/view", method = RequestMethod.POST)
    String getOriginal(@RequestBody String data);

    @RequestMapping(value = "/getClass/getClassByFoods", method = RequestMethod.POST)
    String getClassByFoundId(@RequestBody String data);


}
